import { View, Button } from '@tarojs/components'
import { AtForm, AtInput, AtButton } from 'taro-ui'
import './index.scss'

export default () => {
    return <>
        <View>
            <AtForm>
                <AtInput name='cardNo' title='卡号' placeholder='请输入卡号' required onChange={() => {}}  />
                <AtInput name='username' title='姓名' placeholder='请输入持卡人姓名' required onChange={() => {}}  />
                <AtInput name='mobile' title='手机号' placeholder='请输入持卡人手机号' required onChange={() => {}}  />
                <AtInput name='smsCode' title='验证码' placeholder='请输入短信验证码' required onChange={() => {}}>
                    <View className='p-r'>
                        <Button size='mini'>发送验证码</Button>
                    </View>
                </AtInput>
                <View className='m-t-40 p-l-r'>
                    <AtButton type='primary' formType='submit'>确 定</AtButton>
                </View>
            </AtForm>
        </View>
    </>
}